package a01.core.base;

/**
 * @author : 程序员大黑鱼
 * @date : 2021/11/20 19:27
 * @description : BaseMapper
 */
public interface BaseMapper<T> {

    int insert(T record);

    int insertSelective(T record);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);

    T selectByPrimaryKey(Object id);

    int deleteByPrimaryKey(Object id);
}
